import os
import datetime

# Create the static version file

d = datetime.datetime.today()
ts = str(d.day) + str(d.month) + str(d.year) + str(d.hour) + str(d.minute)

fileObj = open("staticTs.txt", "w")
fileObj.write(ts)
fileObj.close()

# Upload to google app engine

os.system("appcfg.py update .")